#pragma once

#include <string>
using namespace std;

#include "foodEnterpriseBuilding.h"
class restaurant :
	public foodEnterpriseBuilding
{	
public:
	enum class kind_of_restaurant {sushi, italian, french};

	restaurant() : foodEnterpriseBuilding()
	{
		kind = kind_of_restaurant::italian;
	}

	restaurant(string info, kind_of_restaurant kind, int maxGuests) : foodEnterpriseBuilding(info, maxGuests)
	{
		this->kind = kind;
	}

	kind_of_restaurant getKind()
	{
		return kind;
	}

	void setKind(kind_of_restaurant kind)
	{
		this->kind = kind;
	}

	~restaurant()
	{
	}

	string kind_to_string()
	{
		string s = "";
		if (kind == kind_of_restaurant::french){
			s = "french";
		}
		else if (kind == kind_of_restaurant::italian){
			s = "italian";
		}
		else if (kind == kind_of_restaurant::sushi){
			s = "sushi";
		}
		return s;
	}

	virtual void print()
	{
		foodEnterpriseBuilding::print();
		cout << "kind = " << kind_to_string() << endl;
	}
protected:
	kind_of_restaurant kind;
};

